import Api from "./request";

// 获取所有话题
export const getTopicListApi = (params) => Api.get("/topic", params);

// 更新话题
export const putTopicApi = (data) => Api.put("/topic", data);

// 添加话题圈
export const postTopicApi = (data) => Api.post("/topic", data);

// 删除话题圈
export const deleteTopicApi = (data) => Api.delete("/topic", data);